<?php

    require_once '../../../Class/config.php';
	$objcfg = new config();
	require_once ($_SERVER["DOCUMENT_ROOT"]."/".$objcfg->objEnd."/Class/geral.php");


    $geral = new Geral();
    require_once ($geral->conexao());
    require_once ($geral->modulo());

    $objMod = new Modulo();

    $objMod->setId($_POST["id"]);
    $objMod->setArquivoDeslizante($_POST["arq"]);
    $objMod->setModelo($_POST["modelo"]);
    $objMod->setDescModulo($_POST["desc"]);
    $objMod->setDuplaFace($_POST["dublaface"]);
    $objMod->setModFlag($_POST["flagExcluir"]);

    $objMod->alterar();

?>
